using System.IO;

namespace ExtendedStream
{
    public interface IUnlimitedStreamProviderData
    {
        Stream Destination { get; }
        Stream Tail { get; }
        Stream Header { get; }
        LimitationType LimitationType { get; }
        bool UseLimitation { get; }
        long Limitation { get; }
        int TryWriteData(byte[] buffer, int offset, int count);
    }

    public enum LimitationType
    {
        Number,
        Method
    }
}